Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: JManager Reference /
Chapter 1 - JManager Reference / JManager Constants and Data Types


Security Level Indicators

When you set up a session security options data structure, you must specify which Java code should be run through the verifier before execution. The verifier checks to see that the Java code is valid and does not attempt any illegal actions that could affect the host platform.

enum CodeVerifierOptions {
   eDontCheckCode = 0, 
   eCheckRemoteCode, 
   eCheckAllCode 
   };
Constant descriptions

eDontCheckCode
Don't verify any code.
eCheckRemoteCode
Verify any code that is read from a network.
eCheckAllCode
Verify all code.
In addition, you must also specify the security level allowed for applets accessing a network.

enum NetworkSecurityOptions {
   eNoNetworkAccess = 0, 
   eAppletHostAccess, 
   eUnrestrictedAccess
   };
Constant descriptions

eNoNetworkAccess
Applets have no access to networks.
eAppletHostAccess
An applet may access only its host server.
eUnrestrictedAccess
Applets have unrestricted access to all networks.
Finally you must specify the security level allowed for applets accessing the local file system.

enum FileSystemOptions {
   eNoFSAccess = 0,
   eLocalAppletAccess,
   eAllFSAccess
};
Constant descriptions

eNoFSAccess
Applets have no access to the local file system.
eLocalAppletAccess
Only applets that are stored locally may access the local file system.
eAllFSAccess
All applets have access to the local file system.
See "Session Security Options Structure" (page 11) for more information about using these values.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help